package com.yizhu.zczy.system.service.impl;

import com.yizhu.zczy.common.utils.PageUtils;
import com.yizhu.zczy.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.yizhu.zczy.system.dao.CardinalnumberDao;
import com.yizhu.zczy.system.entity.CardinalnumberEntity;
import com.yizhu.zczy.system.service.CardinalnumberService;


@Service
public class CardinalnumberServiceImpl extends ServiceImpl<CardinalnumberDao, CardinalnumberEntity> implements CardinalnumberService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CardinalnumberEntity> page = this.page(
                new Query<CardinalnumberEntity>().getPage(params),
                new QueryWrapper<CardinalnumberEntity>()
        );

        return new PageUtils(page);
    }

}